import { instance as request } from '@/utils/server.js';

// bom报价清单-报价列表
export function queryCustomerBomMatchPageList(data) {
    return request({
        url: '/mall-api/biz/crmCustomerBomMatchList/queryPageList',
        method: 'get',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
        },
        params: data
    })

}

// bom报价清单-替换型号(调整)
export function updateManufacturerPn(data) {
    return request({
        url: '/mall-api/biz/crmCustomerBomMatchList/updateManufacturerPn',
        method: 'post',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
        },
        data: data
    })

}

// 客户PCBA订单- 确认匹配完成的订单
export function confirmMatchOrder(id) {
    return request({
        url: `/mall-api/biz/crmPcbaOrder/confirmMatchOrder/${id}`,
        method: 'get',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8',
        },
    })

}

